package com.gerenboke.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gerenboke.domain.ResponseResult;
import com.gerenboke.domain.dto.UserDto;
import com.gerenboke.domain.dto.UserSaveDto;
import com.gerenboke.domain.entity.User;
import org.springframework.web.bind.annotation.RestController;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2022-11-14 22:47:37
 */
public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult userList(Long pageNum, Long pageSize, String userName, String phonenumber, String status);

    ResponseResult saveUser(UserSaveDto userSaveDto);

    ResponseResult deleteUser(Long id);

    ResponseResult selectUser(Long id);

    ResponseResult updateUser(UserDto userDto);
}

